import API from '@/api/contants'
import request from '@/utils/request'

export const getNav = () => request({
  url: '/xiongmao' + API.NAV_API,
})
export const getBanner = () => request({
  url: API.BANNER_API,
})
export const getMain = () => request({
  url: '/xiongmao' + API.HOME_MAIN,
})
export const getDetail = (start = 0) => request({
  url: API.HOME_MAIN + '?start=' + start,
})
